<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../dist/style/css/base.css">
    <script>
        var deviceWidth = document.documentElement.clientWidth;
        if (deviceWidth > 640) deviceWidth = 640;
        document.documentElement.style.fontSize = deviceWidth / 7.5 + 'px';
    </script>
</head>

<body>

    <div class="warp h">
        <!--header-->
        <header class="hd br">
            <a href="#123" class="l-icon only-icon">
            <i class="iconfont icon-left1"></i>            
            
        </a>
            <p class="tit2">
                管理收货地址
            </p>

        </header>


        <div class="order-address admin">
            <a href="#111">
                <div class="l">
                    <i class="iconfont myicon icon-gou"></i>
                </div>
                <div class="r">
                    <p>
                        王小二</p>
                    <p>18828881888</p>
                    <p>收货人：广东深圳南山区南新路多少号啥楼啥 号哈哈哈</p>
                </div>

                <i class="icon iconfont icon-left"></i>

            </a>
        </div>
        <div class="order-address admin">
            <a href="#111">
                <div class="l">
                    <i class="iconfont myicon "></i>
                </div>
                <div class="r">
                    <p>王小二</p>
                    <p>18828881888</p>

                    <p>收货人：广东深圳南山区南新路多少号啥楼啥 号哈哈哈</p>
                </div>

                <i class="icon iconfont icon-left"></i>

            </a>
        </div>


        <div class="addAddress-ft">
            <a href="#12">新增收货地址</a>
        </div>



        <div class="line-box"></div>

        <div class="pd-box"></div>




    </div>

    <script src="../dist/js/base.js"></script>

    <script>
        // 矫正rem
        function correctrem() {
            var rem_full_width = $("<div id='rem-test' style='width:7.5rem'></div>").appendTo($('body')).width();
            var device_width = Math.min(document.documentElement.clientWidth, 640);
            if (rem_full_width !== device_width) {
                document.documentElement.style.fontSize = (device_width / 7.5) * (device_width / rem_full_width) + 'px';
            }
            $('#rem-test').remove();
        }
        correctrem();
        $(function () {
            $(".admin").hammer().bind("tap", function (ev) {
                var $this_i = $(this).find('.myicon');
                if (!$this_i.hasClass("icon-gou")) {
                    $(".myicon ").removeClass("icon-gou");
                    $this_i.addClass("icon-gou");
                }

            });
        })
    </script>

</body>

</html>